<%@page import="csci5828.servlet.RequestAttributes"%>
<html>
  <head>
    <title>Comet Reviews</title>
    <link href="style/style.css" rel="stylesheet" type="text/css"/>
  </head>
  <body>
    <div class="title">
      <img src="images/title.png"/>
    </div>
    <div class="searchform">
      <form action="/cometreviews/search">
        <input id="search" type="text" name="query" />
        <input id="location" type="text" name="location" value="boulder, co"/>
        <input id="submit" type="submit" value="Search!"/>
        <div class="checkbox">
            <input name="CityGrid" type="checkbox" value="true" checked/>CityGrid
            <input name="Yelp" type="checkbox" value="true" checked/>Yelp
        </div>
      </form>
    </div>
    
    <%
    String err = (String)request.getAttribute(RequestAttributes.ERRORS);
    if (err != null) {
    %>
    
    <h1><%=err%></h1>
    
    <%
    }
    %>
    
  </body>
</html>